import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/Home.vue'

import Index from './views/index/index.vue'
import Mee from './views/index/mycenter.vue'
import Zhibo from './views/index/zhibo.vue'
import Money from './views/index/money.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:'/',
      name:'home',
      component:Home,
      children:[
        {
          path:'/index',
          component:Index
        },
        {
          path:'/money',
          component:Money
        },
        {
          path:'/zhibo',
          component:Zhibo
        },
        {
          path:'/me',
          component:Mee
        }
      ]
    },


  ]
})
